/*/////////////////////////////////////////////////////////////////////////////
//  To-do:
/ finish thief shop
/ finish magic shop
/ finish market
/ finish arena
/ finish labyrinth

/ add dialog to commoners and guards

/ add Lua or some other real scripting language

// Bugs:
/////////////////////////////////////////////////////////////////////////////*/

#ifndef LABRYRINTH
#define LABRYRINTH

#include "phatx.h"
#include "phatSS.h"

///////////////////////////////////////////////////////////////////////////////
// Town Functions
///////////////////////////////////////////////////////////////////////////////

void weaponShop();
void armorShop();
void thiefShop();
void magicShop();

void Arena(); // Fight foes of your choice.
void Market(); // Buy and sell goods here
void Fishing(); // Fish for meat, gold and exp.
void Hunting(); // Hunt for pelts, meat and exp.
void Vegitation(); // Collect berries for small in battle health boost ( 3-5 hp )

void talkToCommonPeople(); // for some tips and just to make it more old-school
void talkToGaurds(); // for finally defeating the minotaur den ???

// Help protos
void townMenuHelp();
void magicMenuHelp();
void thiefMenuHelp();
void weaponMenuHelp();
void armorMenuHelp();

static pxWindow px;
static pxSStream ss;

// Global variables proper
extern int gNumOfMonsters; // Used by player.cpp but need in other areas

extern bool gIsGameOver; // Goes back to main menu
extern bool gIsCharacterMade; // new game checking and basic logic stuff
extern bool gInMainMenu;
extern bool gInTown; // Buy weapons, armor, magic, poison, potions here
extern bool gInBoat; // Fish and get food plus some for trade.
extern bool gInForest; // Hunt and level up here.
extern bool gInLabyrinth; // Have the option of running from minotaurs and other enemies here.
extern bool gInColosseum; // Fight for easy exp. Choose your opponents.
extern bool gInBushes; // Collect berries not for sale just a 3-5 hp boost
extern bool gNewGame;
extern bool gDone; // For exiting completely

///////////////////////////////////////////////////////////////////////////////
// End Town stuff
///////////////////////////////////////////////////////////////////////////////

void interpret();

#endif